package com.ostrich.a2104gao5.utils

import com.ostrich.library_logger.Logger
import com.ostrich.library_logger.LoggerLevel
import com.ostrich.library_logger.LoggerStrategy

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/20 11:11
 * @Description : LoggerUtils 工具类
 */
class LoggerUtils {
    companion object{
        private val logger = Logger.Builder()
            .setLevel(LoggerLevel.Error)
            .setStrategy(LoggerStrategy.FILE)
            .setTag("测试")
            .setSaveUrl("/sdcard/log.txt")
            .setDebug(true)
            .build()
        @JvmStatic
        fun d(tag:String,log:String){
            logger.d(tag,log)
        }

    }
}